package com.epam.task.thread;

import org.apache.log4j.Logger;

public class Runner {
    public static final Logger log = Logger.getLogger(Runner.class);

    public static void main(String args[]) throws ClassNotFoundException {
        OperatorPool queue = new OperatorPool(10);


        Client client = new Client("Client1", queue);
        new Thread(client).start();

        client = new Client("Client2", queue);
        new Thread(client).start();

        client = new Client("Client3", queue);
        new Thread(client).start();

        client = new Client("Client4", queue);
        new Thread(client).start();

        client = new Client("Client5", queue);
        new Thread(client).start();

    }

}


